//作业3LED满流水
int min = 7;
int max = 12;
void setup() {
  // put your setup code here, to run once:
  int temp = min;
  while(temp<=max){
    pinMode(temp,OUTPUT);
    temp++;
  }
}

void loop() {
  // put your main code here, to run repeatedly:
  for(int x=0;x+min<=max;x++){
    digitalWrite(x+min,HIGH);
    delay(500);
  }
  for(int x=0;x+min<=max;x++){
  digitalWrite(x+min,LOW);
  }
  delay(500);
}
